<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html"%>


<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>我的平困生申请</title>
    <link href="CSS/Accessible_Design.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    
	<table  border="1" cellspacing="0" width="600">
  <tr>
    <td colspan="7"><div align="center">贫困生申请信息</div></td>
  </tr>
  <tr>
 	 <td >申请等级</td>
    <td >申请时间</td>
    <td>审批状态</td>
    <td >修改</td>
    <td >删除</td>
  </tr>

 	<c:forEach items="${stuPoorList}" var="poor">
	  <tr>
	  	<td>
	  	<c:if test="${poor.levels == 1}">
			<c:out value="特别困难" />
		</c:if>
		<c:if test="${poor.levels == 2}">
			<c:out value="困难" />
		</c:if>
	  	</td>
	  	
	    <td>${poor.appDate}</td>
	    <td>
        <c:if test="${poor.audits.audStatus== 0}">
			<c:out value="未审批" />
		</c:if>
		<c:if test="${poor.audits.audStatus== 1}">
			<c:out value="审批中" />
		</c:if>
		<c:if test="${poor.audits.audStatus == 100}">
			<c:out value="通过" />
		</c:if>
		<c:if test="${poor.audits.audStatus == 99}" >
			<c:out value="驳回" />
		</c:if>
           </td>
            
	    <td>
		    <c:if test="${poor.audits.audStatus == 0||poor.audits.audStatus==99}">
			<a href="poorStuChangeShow.do?poorStuId=${poor.stupoorId}"><c:out value="修改" /></a>
			</c:if>
	    </td>
	    <td>
		    <c:if test="${poor.audits.audStatus == 0||poor.audits.audStatus==99}">
			<a href="deleteStuPoor.do?poorStuId=${poor.stupoorId}"	><c:out value="删除" /></a>
			</c:if>
	    </td>
	  </tr>
	</c:forEach>
	<tr>
	<td colspan="5">
		<a href="PoolApplyShow.do">申请</a>
	</td>
	</tr>
</table>


  </body>
</html>
